#include "gd32f4xx.h"
#include "nvic.h"

void MX_NVIC_INIT(void)
{
    /*! usart0 */
    nvic_irq_enable(USART0_IRQn, 0, 0);
    /*! timer13->timer0  S2 step && ! timer9 V2 step */
    nvic_irq_enable(TIMER0_UP_TIMER9_IRQn, 1, 0);
    /*! timer12->timer1  T1 step */
    nvic_irq_enable(TIMER1_IRQn, 1, 0);
    /*! timer3->timer2  S1 step */
    nvic_irq_enable(TIMER2_IRQn, 1, 0);
    /*! timer11->timer7  T2 step */
    nvic_irq_enable(TIMER7_UP_TIMER12_IRQn, 1, 0);
    /*! systick */
    nvic_irq_enable(TIMER6_IRQn, 1, 1);
    /*! timer4 V4 step */
    nvic_irq_enable(TIMER4_IRQn, 1, 0);
    /*! timer8 V3 step */
    nvic_irq_enable(TIMER0_BRK_TIMER8_IRQn, 1, 0);
    /*! timer10 V1 step */
    nvic_irq_enable(TIMER0_TRG_CMT_TIMER10_IRQn, 1, 0);
}
